﻿/* EntitiesToDTOs. Copyright (c) 2011. Fabian Fernandez.
 * http://entitiestodtos.codeplex.com
 * Licensed by Common Development and Distribution License (CDDL).
 * http://entitiestodtos.codeplex.com/license
 * Fabian Fernandez. 
 * http://www.linkedin.com/in/fabianfernandezb/en
 * */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntitiesToDTOs.Helpers
{
    /// <summary>
    /// Utilities.
    /// </summary>
    internal class Utils
    {
        /// <summary>
        /// Sets the first letter of the received text to lowercase.
        /// </summary>
        /// <param name="text">Text to format.</param>
        /// <returns></returns>
        public static string SetFirstLetterLowercase(string text)
        {
            return (Char.ToLower(text[0]) + text.Substring(1));
        }
    }
}